<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="./js/ctx.js"></script>
</head>
<body>
<div id="cesiumContainer">
</div>
<div id="toolbar"></div>
<script>
    var initCesium = new InitCesium();
    var viewer = initCesium.initViewer('cesiumContainer');

    viewer.clock.multiplier = 200;
    viewer.clock.shouldAnimate = !0;
    rotate();
    function rotate() {
        var a = viewer.clock.currentTime.secondsOfDay;
        viewer.clock.onTick.addEventListener(function (e) {
            var i = viewer.clock.currentTime.secondsOfDay, t = (i - a) / 1e3;
            a = i, viewer.scene.camera.rotate(Cesium.Cartesian3.UNIT_Z, -1 * t)
        })
    }

</script>
</body>

</html>
